package com.wlc.entity;

/**
 * 接收支付宝账单 csv文件的实体类
 */
public class AlipayTransaction {
    private String transactionNumber;
    private String merchantOrderNumber;
    private String transactionCreationTime;
    private String paymentTime;
    private String lastModificationTime;
    private String transactionSource;
    private String transactionType;
    private String transactionCounterparty;
    private String productName;
    private double amount;
    private String incomeOrExpense;
    private String transactionStatus;
    private double serviceCharge;
    private double successfulRefund;
    private String remarks;
    private String fundStatus;

    public AlipayTransaction() {
    }

    public String getTransactionNumber() {
        return transactionNumber;
    }

    public void setTransactionNumber(String transactionNumber) {
        this.transactionNumber = transactionNumber;
    }

    public String getMerchantOrderNumber() {
        return merchantOrderNumber;
    }

    public void setMerchantOrderNumber(String merchantOrderNumber) {
        this.merchantOrderNumber = merchantOrderNumber;
    }

    public String getTransactionCreationTime() {
        return transactionCreationTime;
    }

    public void setTransactionCreationTime(String transactionCreationTime) {
        this.transactionCreationTime = transactionCreationTime;
    }

    public String getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(String paymentTime) {
        this.paymentTime = paymentTime;
    }

    public String getLastModificationTime() {
        return lastModificationTime;
    }

    public void setLastModificationTime(String lastModificationTime) {
        this.lastModificationTime = lastModificationTime;
    }

    public String getTransactionSource() {
        return transactionSource;
    }

    public void setTransactionSource(String transactionSource) {
        this.transactionSource = transactionSource;
    }

    public String getTransactionType() {
        return transactionType;
    }

    public void setTransactionType(String transactionType) {
        this.transactionType = transactionType;
    }

    public String getTransactionCounterparty() {
        return transactionCounterparty;
    }

    public void setTransactionCounterparty(String transactionCounterparty) {
        this.transactionCounterparty = transactionCounterparty;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public String getIncomeOrExpense() {
        return incomeOrExpense;
    }

    public void setIncomeOrExpense(String incomeOrExpense) {
        this.incomeOrExpense = incomeOrExpense;
    }

    public String getTransactionStatus() {
        return transactionStatus;
    }

    public void setTransactionStatus(String transactionStatus) {
        this.transactionStatus = transactionStatus;
    }

    public double getServiceCharge() {
        return serviceCharge;
    }

    public void setServiceCharge(double serviceCharge) {
        this.serviceCharge = serviceCharge;
    }

    public double getSuccessfulRefund() {
        return successfulRefund;
    }

    public void setSuccessfulRefund(double successfulRefund) {
        this.successfulRefund = successfulRefund;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getFundStatus() {
        return fundStatus;
    }

    public void setFundStatus(String fundStatus) {
        this.fundStatus = fundStatus;
    }

    public AlipayTransaction(String transactionNumber, String merchantOrderNumber, String transactionCreationTime, String paymentTime, String lastModificationTime, String transactionSource, String transactionType, String transactionCounterparty, String productName, double amount, String incomeOrExpense, String transactionStatus, double serviceCharge, double successfulRefund, String remarks, String fundStatus) {
        this.transactionNumber = transactionNumber;
        this.merchantOrderNumber = merchantOrderNumber;
        this.transactionCreationTime = transactionCreationTime;
        this.paymentTime = paymentTime;
        this.lastModificationTime = lastModificationTime;
        this.transactionSource = transactionSource;
        this.transactionType = transactionType;
        this.transactionCounterparty = transactionCounterparty;
        this.productName = productName;
        this.amount = amount;
        this.incomeOrExpense = incomeOrExpense;
        this.transactionStatus = transactionStatus;
        this.serviceCharge = serviceCharge;
        this.successfulRefund = successfulRefund;
        this.remarks = remarks;
        this.fundStatus = fundStatus;
    }

    @Override
    public String toString() {
        return "AlipayTransaction{" +
                "transactionNumber='" + transactionNumber + '\'' +
                ", merchantOrderNumber='" + merchantOrderNumber + '\'' +
                ", transactionCreationTime='" + transactionCreationTime + '\'' +
                ", paymentTime='" + paymentTime + '\'' +
                ", lastModificationTime='" + lastModificationTime + '\'' +
                ", transactionSource='" + transactionSource + '\'' +
                ", transactionType='" + transactionType + '\'' +
                ", transactionCounterparty='" + transactionCounterparty + '\'' +
                ", productName='" + productName + '\'' +
                ", amount=" + amount +
                ", incomeOrExpense='" + incomeOrExpense + '\'' +
                ", transactionStatus='" + transactionStatus + '\'' +
                ", serviceCharge=" + serviceCharge +
                ", successfulRefund=" + successfulRefund +
                ", remarks='" + remarks + '\'' +
                ", fundStatus='" + fundStatus + '\'' +
                '}';
    }
}